/*
  Copyright (c) 2009-10 by kRaw1er & HierOS
  This file is part of M8J project
*/
#pragma once
#include <mzfc_inc.h>
#include "defs.h"
#include "utils\utils.h"
#include "CInputWnd.h"
#include "gloox\gloox.h"
using namespace gloox;

#define MZ_IDC_STATUS_AVAILABLE		101
#define MZ_IDC_STATUS_UNAVAILABLE	102
#define MZ_IDC_STATUS_CHAT			103
#define MZ_IDC_STATUS_AWAY			104
#define MZ_IDC_STATUS_DND			105
#define MZ_IDC_STATUS_XA			106
#define MZ_IDC_TOOLBAR				201

class CChangeStatusWnd : public CMzWndEx
{
public:
	UiScrollWin m_ScrollWin;
	UiButtonEx m_StatusAvailable;
	UiButtonEx m_StatusUnavailable;
	UiButtonEx m_StatusChat;
	UiButtonEx m_StatusAway;
	UiButtonEx m_StatusDnd;
	UiButtonEx m_StatusXa;
	UiToolbar_Text m_Toolbar;
	Presence m_Presence;
	std::string m_PresenceMessage;

	CChangeStatusWnd(void);
	~CChangeStatusWnd(void);

	virtual BOOL OnInitDialog();
	virtual void OnMzCommand(WPARAM wParam, LPARAM lParam);
};
